package com.engineering.elink.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.engineering.elink.co.CompanyDynamicCo;
import com.engineering.elink.domain.CompanyDynamic;

public interface CompanyDynamicMapper {
    int deleteByPrimaryKey(Integer cdId);

    int insert(CompanyDynamic record);

    int insertSelective(CompanyDynamic record);

    CompanyDynamic selectByPrimaryKey(Integer cdId);

    int updateByPrimaryKeySelective(CompanyDynamic record);

    int updateByPrimaryKey(CompanyDynamic record);
    
    CompanyDynamic selectByFkIdAndCdType(@Param("fkId") String fkId, @Param("cdType") int cdType);
    
    List<Map<String,Object>> selectCompanyDynamicList (@Param("cdo") CompanyDynamicCo companyDynamicCo);
    int selectCompanyDynamicListCount (@Param("cdo") CompanyDynamicCo companyDynamicCo); 
    
	int deleteByFkId(@Param("fkId") String fkId);
}